package com.gof.example.proxy.virtual;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/9 10:41.
 * haiming.fei@tongdun.cn
 */
public class App {

    public static void main(String[] args) throws InterruptedException {
        AbstractCrawler crawler = new ProxyCrawler();
        crawler.init();
        crawler.crawl("https://assets-cdn.github.com/images/modules/site/logos/google-logo.png");
        Thread.sleep(5000);
        System.out.println(crawler.view());
    }
}
